<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<ui:composition template="/pages/layout/mainLayout.xhtml">
	<ui:define name="bodyComUsuario">

		<div class="post">
		<h2 class="title"><h:outputText
			value="#{bundle['locanet.estiloFilme.edicao.titulo']}" /></h2>
		<h:form>
			<h:inputHidden value="#{estiloFilmeBean.entity.id}" />
			<h:panelGrid columns="3">
				<h:outputLabel value="#{bundle['locanet.Filme.filme']}"
					for="nomeEstiloFilme" />
				<h:inputText maxlength="100" value="#{estiloFilmeBean.entity.nome}"
					id="nomeEstiloFilme" />
				<h:messages for="nomeEstiloFilme" styleClass="error" />

				<h:commandButton action="#{estiloFilmeBean.update}"
					value="#{bundle['locanet.butoes.salvar']}" />
				<h:commandLink immediate="true" action="#{estiloFilmeBean.search}"
					styleClass="button" value="#{bundle['locanet.butoes.voltar']}" />
			</h:panelGrid>
		</h:form></div>
	</ui:define>
</ui:composition>
</html>
